﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShoppingEntity
{
	/// <summary>
	/// 菜单权限表实体类
	/// </summary>
	public class MenuInfo:BaseDeleteEntity
	{
		/// <summary>
		/// 标题
		/// </summary>
		[Column(TypeName = "varchar(16)")]
		public string Title { get; set; }
		/// <summary>
		/// 描述
		/// </summary>
		[Column(TypeName = "nvarchar(16)")]
		public string Describe { get; set; }
		/// <summary>
		/// 等级
		/// </summary>
		public int Level { get; set; }
		/// <summary>
		/// 排序
		/// </summary>
		public int Sort { get; set; }
		/// <summary>
		/// 访问地址
		/// </summary>
		[Column(TypeName = "varchar(128)")]
		public string Href { get; set; }
		/// <summary>
		/// 父菜单id
		/// </summary>
		[Column(TypeName = "varchar(36)")]
		public string ParentId { get; set; }
		/// <summary>
		/// 图标样式
		/// </summary>
		[Column(TypeName = "varchar(32)")]
		public string Icon { get; set; }
		/// <summary>
		/// 目标
		/// </summary>
		[Column(TypeName = "varchar(16)")]
		public string Target { get; set; }
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime CreateTime { get; set; }
	}
}
